package com.club.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.club.bean.Activity;
import com.club.bean.ActivityParticipation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface ActivityParticipationMapper extends BaseMapper<ActivityParticipation> {
    @Select("SELECT * FROM activityParticipation  WHERE  PartID= #{partId}")
    ActivityParticipation selectByPartId(@Param("partId") Integer partId);

}
